package com.example.scancodelogindemo.model;

import com.example.scancodelogindemo.enums.QrCodeStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 傲寒
 * @date 2023/12/6
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class QrCodeInfo {

    /**
     * qr码id
     */
    private String qrCodeId;

    /**
     * 令牌
     */
    private String token;

    /**
     * 州
     */
    private QrCodeStatusEnum qrCodeStatus;

    public QrCodeInfo(String qrCodeId, QrCodeStatusEnum qrCodeStatus) {
        this.qrCodeId = qrCodeId;
        this.qrCodeStatus = qrCodeStatus;
    }

}
